package com.chixing.day03_oop;

public class ProductTest {
    public static void main(String[] args) {
        Product product1=new Product(101,"抽纸",5.10,"苏州");
        Product product2=new Product(102,"水",0.99,"常州");
        Product product3=new Product(103,"红茶",3.10,"上海");
        Product product4=new Product(104,"绿茶",2.10,"苏州1");
        Product product5=new Product(105,"白茶",320.10,"苏州2");
        Product product6=new Product(106,"毛巾",10.00,"苏州5");
        Product product7=new Product(107,"刷子",350.50,"苏州6");
        Product product8=new Product(108,"番茄",400.10,"苏州4");
        Product product9=new Product(109,"黄瓜",3.10,"苏州8");
        Product product10=new Product(110,"计算机",9.90,"苏州0");

//        Product[]  product =new Product[10];
//        for(int i=0;i<product.length;i++){
//
//        }
//        product[0]=product1;
//        product[1]=product2;
//        product[2]=product3;
//        product[3]=product4;
//        product[4]=product5;
//        product[5]=product6;
//        product[6]=product7;
//        product[7]=product8;
//        product[8]=product9;
//        product[9]=product10;











    }
}
